package plus;

import plus.exp.Exp;
import plus.run.Emit;

final class Ins extends BIF {
	private byte insn;

	Ins(String name, byte insn, Type[] domain, Type range) {
		super(name, domain, range);
		this.insn = insn;
	}

	@Override public void compileCall(Exp[] es) {
		for (Exp e: es) e.compilePush();
		Emit.asm(insn);
	}
}
